package com.dailyblue.java.cloud.sentinel.consumer.feign;

import com.dailyblue.java.cloud.sentinel.consumer.feign.fallback.ProviderFeignImpl;
import com.dailyblue.java.commons.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "sentinel-provider", fallback = ProviderFeignImpl.class)
public interface ProviderFeign {
    @GetMapping("/provider/a")
    JsonResult a();

    @GetMapping("/provider/b")
    JsonResult b();

}
